package com.jmp.api.admin.dto;

import com.github.pagehelper.PageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;
import one.stand.model.MenuModel;

import java.util.Date;
import java.util.List;

/**
 * @author cjr
 */
@Data
@ApiModel
public class AdminListResponse {
    private PageResponse2<Admin> pageInfo;

    @Data
    @Builder
    public static class Admin {
        private Integer adminId;
        private String loginName;
        private String name;
        private Integer sex;
        private String position;
        private Integer tourist;
        private Date createTime;
        private Integer isDel;
        @ApiModelProperty("菜单列表")
        private List<MenuModel> modelList;
    }
}
